package org.linlinjava.litemall.admin.form;

import javax.validation.constraints.NotEmpty;

public class HomeAddSalePointForm {
    private Integer id;
    @NotEmpty(message = "标题不能为空")
    private String name;
    @NotEmpty(message = "图片不能为空")
    private String url;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
